﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReadLog.aspx.cs" Inherits="Web.ReadLog" %>

<!doctype html>
<html lang="en">
<head>
    <title>授权阅读日志</title>
    <base target="_self" />
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    <link href="yaml/core/base.min.css" rel="stylesheet" />
    <link href="yaml/forms/gray-theme.css" rel="stylesheet" />
    <link href="yaml/screen/typography.css" rel="stylesheet" />
    <!--[if lte IE 7]>
      <link rel="stylesheet" href="yaml/core/iehacks.min.css" type="text/css"/>
      <![endif]-->
    <!--[if lt IE 9]>
      <script src="yaml/lib/html5shiv/html5shiv.js"></script>
      <![endif]-->
</head>
<body>
    <table style="font-size:12px;" class="bordertable">
        <thead>
            <tr>
                <th width="15%">授权人</th>
                <th width="20%">授权时间</th>
                <th>授权给</th>
            </tr>
        </thead>
        <tbody>
            <%=sb.ToString() %>
        </tbody>
    </table>
    <form runat="server">
        <asp:Repeater ID="rptList" EnableViewState="False" Runat="server">
			<HeaderTemplate>
				<table class="bordertable">
					<thead>
						<TR>
							<th width="60%">阅读时间</th>
							<th>阅读者</th>
						</TR>
					</thead><tbody>
			</HeaderTemplate>
			<ItemTemplate>
				<tr class="<%# Container.ItemIndex%2==0?"bg":""%>">
					<td><%# DataBinder.Eval(Container.DataItem, "ReadTime")%></td>
					<td><%# DataBinder.Eval(Container.DataItem, "Reader")%></td>
				</tr>
			</ItemTemplate>
			<FooterTemplate>
				</tbody> </table>
			</FooterTemplate>
		</asp:Repeater>
    </form>
</body>
</html>